package com.ruoyi.api.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电话位置对象 biz_phone_location
 * 
 * @author 魏建波
 * @date 2022-01-21
 */
public class BizPhoneLocation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 标识 */
    private Long id;

    /** 位置名称 */
    @Excel(name = "位置名称")
    private String name;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 维度 */
    @Excel(name = "维度")
    private String latitude;

    /** 记录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String recordTime;

    /** 机器码 */
    @Excel(name = "机器码")
    private String phoneSn;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLongitude(String longitude)
    {
        this.longitude = longitude;
    }

    public String getLongitude()
    {
        return longitude;
    }
    public void setLatitude(String latitude)
    {
        this.latitude = latitude;
    }

    public String getLatitude()
    {
        return latitude;
    }
    public void setRecordTime(String recordTime)
    {
        this.recordTime = recordTime;
    }

    public String getRecordTime()
    {
        return recordTime;
    }
    public void setPhoneSn(String phoneSn) 
    {
        this.phoneSn = phoneSn;
    }

    public String getPhoneSn() 
    {
        return phoneSn;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .append("recordTime", getRecordTime())
            .append("phoneSn", getPhoneSn())
            .toString();
    }
}
